import permissionsModule from "$lib/modules/permissions";

export async function GET({ request }) {
  const permissions = await permissionsModule.getAll();
  return new Response(JSON.stringify(permissions), { status: 200 });
}